require "lua/d_skills"


Action_Skill = "skill"
Action_Attack = "attack"
Action_Stand = "stand"
Action_Hurt = "hurt"
Action_Move = "run"

Datas_Role = {
    [Role_Soldier] = {
        [PName]="战士",
        [PTitle]="攻击力高、防御力高、生命值高，装备为攻击型",
        [PAtk]=70,
        [PDef]=50,
        [PLife]=600,
        [PAtksp]=0.1,
        [PDmgType]=DamageType_Melee,
        [PModel]="_zhanshi",
        [PScale]=0.66,--模型缩放
        [PSkill]={Skill_Ssklv1,Skill_Samlv1,Skill_Shplv1},
        [PAtkFPS]=0.6,
        [PFightFps]=0.4,
        [PHurtFps]=0.4,
        [PSkillFPS]=0.9,
        [PSkillHFps]=0.4,
        [PSkillEffs]={Action_Skill},
        weapon=Item_SWeapon,
        armor=Item_SArmor,
        Mweapon="myItem_01.png",
        Marmor="myItem_02.png",
        weaponV=50,
        armorV=30,
    },
    [Role_Archer] = {
        [PName]="弓手",
        [PTitle]="攻击力中、防御力中、生命值中，装备为防御型",
        [PAtk]=70,
        [PDef]=60,
        [PLife]=400,
        [PAtksp]=0.1,
        [PDmgType]=DamageType_Remote,
        [PModel]="_Archer",
        [PScale]=0.93,
        [PSkill]={Skill_Asklv1,Skill_Aamlv1,Skill_Ahplv1},
        [PAtkFPS]=0.89,
        [PFightFps]=0.8,
        [PHurtFps]=0.78,
        
        [PSkillFPS]=0.89,
        [PSkillHFps]=0.78,
        [PSkillEffs]={Action_Attack,Action_Skill},
        weapon=Item_AWeapon,
        armor=Item_AArmor,
        Mweapon="myItem_03.png",
        Marmor="myItem_04.png",
        weaponV=30,
        armorV=50,
    },
    [Role_Master] = {
        [PName]="法师",
        [PTitle]="攻击力低、防御力低、生命值低，装备为生命型",
        [PAtk]=100,
        [PDef]=30,
        [PLife]=200,
        [PAtksp]=0.1,
        [PDmgType]=DamageType_Remote,
        [PCount]=3,--攻击目标数:默认为1
        [PModel]="_master",
        [PScale]=0.93,
        [PSkill]={Skill_Msklv1,Skill_Mamlv1,Skill_Mhplv1},
        [PAtkFPS]=0.85,
        [PFightFps]=0.3,
        [PHurtFps]=0.35,
        
        [PSkillFPS]=0.9,
        [PSkillHFps]=0.3,
        [PSkillEffs]={Action_Attack},
        weapon=Item_MWeapon,
        armor=Item_MArmor,
        Mweapon="myItem_05.png",
        Marmor="myItem_06.png",
        weaponV=50,
        armorV=50,
    },
    -----------------
    [Mon_YeZhu] = {
        [PName]="野猪",
        [PTitle]=nil,
        [PAtk]=50,
        [PDef]=34,
        [PLife]=200,
        [PAtksp]=2,
        [PDmgType]=DamageType_Melee,
        [PModel]="_yezhu",
        [PScale]=0.6,--模型缩放
        [PAtkFPS]=0.9,
        [PFightFps]=0.4,
        [PHurtFps]=0.4,
    },
    [Mon_Eyes] = {
        [PName]="眼球怪",
        [PTitle]=nil,
        [PAtk]=80,
        [PDef]=25,
        [PLife]=120,
        [PAtksp]=2,
        [PDmgType]=DamageType_Melee,
        [PModel]="_eyes",
        [PScale]=1.0,--模型缩放
        [PAtkFPS]=0.8,
        [PFightFps]=0.4,
        [PHurtFps]=0.4,
        
        [PSkillEffs]={Action_Attack},
    },
    [Mon_Eagle] = {
        [PName]="法师",
        [PTitle]=nil,
        [PAtk]=100,
        [PDef]=30,
        [PLife]=100,
        [PAtksp]=2,
        [PDmgType]=DamageType_Remote,
        [PModel]="_difa",
        [PScale]=1.0,--模型缩放
        [PAtkFPS]=0.84,
        [PFightFps]=0.4,
        [PHurtFps]=0.82,
        
        [PSkillEffs]={Action_Attack},
    },
    [Mon_WaterE] = {
        [PName]="木乃伊",
        [PTitle]=nil,
        [PAtk]=80,
        [PDef]=50,
        [PLife]=100,
        [PAtksp]=2,
        [PDmgType]=DamageType_Melee,
        [PModel]="_munaiyi",
        [PScale]=1.0,--模型缩放
        [PAtkFPS]=0.9,
        [PFightFps]=0.4,
        [PHurtFps]=0.4,
    },
    [Mon_Sworder] = {
        [PName]="蛇人",
        [PTitle]=nil,
        [PAtk]=150,
        [PDef]=50,
        [PLife]=200,
        [PAtksp]=2,
        [PDmgType]=DamageType_Melee,
        [PModel]="_sheren",
        [PScale]=1.0,--模型缩放
        [PAtkFPS]=0.75,
        [PFightFps]=0.4,
        [PHurtFps]=0.4,
    },
    [Mon_Soldier] = {
        [PName]="熊战士",
        [PTitle]=nil,
        [PAtk]=130,
        [PDef]=60,
        [PLife]=300,
        [PAtksp]=2,
        [PDmgType]=DamageType_Melee,
        [PModel]="_xiongzhanshi",
        [PScale]=1.0,--模型缩放
        [PAtkFPS]=0.68,
        [PFightFps]=0.4,
        [PHurtFps]=0.4,
    },
    [Mon_Leader] = {
        [PName]="BOSS",
        [PTitle]=nil,
        [PAtk]=200,
        [PDef]=80,
        [PLife]=1200,
        [PAtksp]=2,
        [PDmgType]=DamageType_Melee,
        [PModel]="_boss",
        [PScale]=1.0,--模型缩放
        [PAtkFPS]=0.75,
        [PFightFps]=0.4,
        [PHurtFps]=0.6,
        
        [PSkillFPS]=0.7,
        [PSkillHFps]=0.4,
        [PSound]={
            [Action_Move]={f=sme_BoosW,t=2},---t:时长,file:音效
            [Action_Attack]={f=sme_BoosF,t=nil},---没有t,播放一次
        }
        --[PSkillEffs]={Action_Skill},
    },
}